package com.carkeeper.serviceManagement.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

//服务类
@Table(name = "tb_service")
public class Service implements Serializable {
    @Id
    private Long id;//服务id
    private String name;//服务名称
    private Integer normalPrice;//原价格
    private Integer activityPrice;//活动价格
    private String isBeginPrice;//是否是起价
    private String imgUrl;//图片地址
    private String code;//服务编码
    private Long type_1;//1级服务分类
    private Long type_2;//2级服务分类
    private Long storeId;//门店id
    private String cityCode;//城市编号
    private String status;//上下架状态
    private Long detailId;//详情id

    public Service() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNormalPrice() {
        return normalPrice;
    }

    public void setNormalPrice(Integer normalPrice) {
        this.normalPrice = normalPrice;
    }

    public Integer getActivityPrice() {
        return activityPrice;
    }

    public void setActivityPrice(Integer activityPrice) {
        this.activityPrice = activityPrice;
    }

    public String getIsBeginPrice() {
        return isBeginPrice;
    }

    public void setIsBeginPrice(String isBeginPrice) {
        this.isBeginPrice = isBeginPrice;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Long getType_1() {
        return type_1;
    }

    public void setType_1(Long type_1) {
        this.type_1 = type_1;
    }

    public Long getType_2() {
        return type_2;
    }

    public void setType_2(Long type_2) {
        this.type_2 = type_2;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getDetailId() {
        return detailId;
    }

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public Service(Long id, String name, Integer normalPrice, Integer activityPrice, String isBeginPrice, String imgUrl, String code, Long type_1, Long type_2, Long storeId, String cityCode, String status, Long detailId) {
        this.id = id;
        this.name = name;
        this.normalPrice = normalPrice;
        this.activityPrice = activityPrice;
        this.isBeginPrice = isBeginPrice;
        this.imgUrl = imgUrl;
        this.code = code;
        this.type_1 = type_1;
        this.type_2 = type_2;
        this.storeId = storeId;
        this.cityCode = cityCode;
        this.status = status;
        this.detailId = detailId;
    }
}
